package com.gxa.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:config/upload.properties")
public class UploadConfig {

    @Value("${upload.path}")
    private String uploadPath;
    @Value("${upload.exts}")
    private String uploadExts;

    public UploadConfig() {
    }

    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    public String getUploadExts() {
        return uploadExts;
    }

    public void setUploadExts(String uploadExts) {
        this.uploadExts = uploadExts;
    }
}
